rem undeploy app on gf
call gf_user
if not "%ho%" == "" set expr_ho=--host %ho%
if "%ho%" == "127.0.0.1" set expr_ho=
if "%ho%" == "localhost" set expr_ho=
if not "%gf.admin.port%" == "" set expr_gf.admin.port=--port %gf.admin.port%
call %gf_home%\bin\asadmin undeploy %expr_ho% %expr_gf.admin.port% --passwordfile %TOOLS_HOME%\gf.psw.txt --user %gf_user% %1
